package com.xiyu.service.convert.health;

import com.xiyu.service.vo.health.medicine.MedicineSingleGetOutput;
import com.xiyu.service.vo.health.medicine.MedicineGetOutput;
import com.xiyu.service.vo.health.medicine.MedicineCreateInput;
import com.xiyu.service.vo.health.medicine.MedicinePageQueryOutput;
import com.xiyu.service.vo.health.medicine.MedicineUpdateInput;
import com.xiyu.service.model.medicine.HealthMedicine;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 药品档案 Convert
 */
@Mapper
public interface MedicineConvert {
    MedicineConvert INSTANCE = Mappers.getMapper(MedicineConvert.class);


    List<MedicinePageQueryOutput> pageQueryOutputConvert(List<HealthMedicine> output);

    HealthMedicine createInputConvert(MedicineCreateInput input);

    MedicineGetOutput getOutputConvert(HealthMedicine output);

    HealthMedicine updateInputConvert(MedicineUpdateInput input);

    MedicineSingleGetOutput singleGetOutputConvert(HealthMedicine output);

}
